<?php
//
defined('BY_JYA') or exit('error');
$_RQ['op']=$_RQ['op']?$_RQ['op']:'main';
if($_RQ['op']=='main'){
	$return=array();
	exi($return);
}
if($_RQ['op']=='getarea'){
	$parameter=array(
		'params'=>array('uniacid'=>$_SESSION['uniacid'],'status'=>1),
		'orderby'=>'id desc',
		'limit'=>'18',
	);
	$list=pdo_getlist('jy_yiliao_area',$parameter);
	$return['list']=$list;
	exi($return);
}
if($_RQ['op']=='getmonths'){
	$months=$this->model('lesson')->get_months($_RQ['workerid'],$_RQ['storeid']);
	$return['months']=$months;
	exi($return);
}
?>